feat: improve slack notifications with thread and templates #572
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a 0.0.3 version of the Slack integration workflow with two main templates (
post-to-channel
andsend-message
) for sending messages to Slack channels, along with their respective implementations and documentation.Documentation Updates:
post-to-channel
template, including its inputs, outputs, and usage examples for various scenarios such as replying in threads, custom templates, and editing messages.send-message
template, detailing its modes (simple
,template
,default-template
), inputs, and usage examples for custom attachments and templates.Implementation of
post-to-channel
Template (Python-based):slack.py
including support for custom templates, thread replies, and message editing. Outputs include thread timestamps and channel IDs for subsequent workflow steps.requirements.txt
to include theslack_sdk
dependency.Dockerfile
(too many vulnerabilities in the image).Implementation of
send-message
Template (Node.js-based):Dockerfile
@slack/webhook
instead of theslack-webhook
package 9 years without updated).